/**
 * 
 */
package com.gopay.common.user.manager.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.domain.dic.DicCustProfession;
import com.gopay.common.user.dao.DicCustProfessionQueryDAO;
import com.gopay.common.user.manager.DicCustProfessionQueryManager;

/**
 * @DicCustProfessionQueryManagerImpl.java
 * @author xiefei
 * @2013-5-8 下午2:29:22  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("dicCustProfessionQueryManager")
public class DicCustProfessionQueryManagerImpl implements DicCustProfessionQueryManager {

    @Resource(name="dicCustProfessionQueryDAO")
    private DicCustProfessionQueryDAO dicCustProfessionQueryDAO;
    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#get(java.io.Serializable)
     */
    @Override
    public DicCustProfession get(String id) {
       
        return dicCustProfessionQueryDAO.find(DicCustProfession.class, id);
    }

    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#get(java.util.Map)
     */
    @Override
    public List<DicCustProfession> get(Map<Object, Object> paraMap) {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see com.gopay.common.base.manager.BaseManager#getAll()
     */
    @Override
    public List<DicCustProfession> getAll() {
        // TODO Auto-generated method stub
        return dicCustProfessionQueryDAO.findAll(DicCustProfession.class);
    }

}
